import request from '@/utils/request'

// 查询沥青拌合站数据列表
// export function listAsphaltData(query) {
//   return request({
//     url: '/zhgd/asphaltData/list',
//     method: 'get',
//     params: query
//   })
// }
export function listAsphaltData(query) {
  return request({
    url: '/zhgd/laboratoryAsphaltSample/list',
    method: 'get',
    params: query
  })
}

// 查询沥青拌合站数据详细
export function getAsphaltData(id) {
  return request({
    url: '/zhgd/laboratoryAsphaltSample/' + id,
    method: 'get'
  })
}

// 新增沥青拌合站数据
export function addAsphaltData(data) {
  return request({
    url: '/zhgd/laboratoryAsphaltSample',
    method: 'post',
    data: data
  })
}

// 修改沥青拌合站数据
export function updateAsphaltData(data) {
  return request({
    url: '/zhgd/laboratoryAsphaltSample',
    method: 'put',
    data: data
  })
}

// 删除沥青拌合站数据
export function delAsphaltData(id) {
  return request({
    url: '/zhgd/laboratoryAsphaltSample/' + id,
    method: 'delete'
  })
}
